﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Database
{
    /// <summary>
    /// 数据库类型
    /// </summary>
    internal enum ProviderType
    {
        [DbProvider(ProviderName = "System.Data.SqlClient", ProviderClass = "SqlDatabase")]
        SQLSERVER = 0,
        [DbProvider(ProviderName = "System.Data.SqlClient", ProviderClass = "OracleDatabase")]
        Oracle = 1,
        [DbProvider(ProviderName = "System.Data.SqlClient", ProviderClass = "OdbcDatabase")]
        ODBC = 2,
        [DbProvider(ProviderName = "System.Data.SqlClient", ProviderClass = "OlebDatabase")]
        OLEB = 3
    }
    /// <summary>
    /// 
    /// </summary>
    public enum TransactionOptions
    {
        Commit = 0,
        Rollback = 1
    }
}
